package net.model.singleton;

public final class LazySingleton {
	private static LazySingleton INSTANCE = null;
	
	private LazySingleton() {
	}
	
	public static LazySingleton getInstance() {
		LazySingleton instance = INSTANCE;
		if (null==instance) {
			synchronized (instance) {
				instance = INSTANCE;
				if (null==instance)
					INSTANCE = instance = new LazySingleton();
			}
		}
		
		return instance;
	}
}
